package com.senseuni.da.utils

import android.text.TextUtils
import android.widget.Toast
import com.senseuni.da.MyApplication


fun String.showToast(duration:Int = Toast.LENGTH_SHORT) {
    if (!TextUtils.isEmpty(this)) {
        Toast.makeText(MyApplication.context, this, duration).show()
    }
}
